<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        body{
            font-size: 20px;
        }
        table{
            width: 1000px;
            margin-left: -30px;
            /*padding: 10px;*/
            /*border: 1px solid #000000;*/
        }
        table td{
            height: 40px;
            line-height: 40px;
        }
        .title{
            font-size: 40px;
            font-weight: bold;
        }
        .sec_title{
            /*width: 200px;;*/
        }
        .input_td{
            width: 300px;
        }
        .right{
            text-align: right;
        }
        textarea{
            font-size: 20px;
            width: 800px;
            border: 1px solid #000000;
        }
        button{
            height: 30px;
            width: 150px;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div id="button_div"><button onclick="print_fix()">打印</button></div>
<table>
    <tr>
        <td colspan="4" align="center" class="title"><span>设备维修单</span></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td class="right">编号：</td>
        <td style="border-bottom: 2px dashed #000000;">{$one['record_index']}</td>
    </tr>
    <tr>
        <td class="sec_title right">泵站（调蓄池）：</td>
        <td class="input_td">{$one['station']}</td>
        <td class="sec_title right">泵站电话：</td>
        <td>{$one['phone']}</td>
    </tr>
    <tr>
        <td class="sec_title right">报修人员：</td>
        <td class="input_td">{$one['opr']}</td>
        <td class="sec_title right">报修时间：</td>
        <td>{$one['report_time']}</td>
    </tr>
    <tr>
        <td class="sec_title right">设备简介：</td>
        <td colspan="3">
            <textarea style="height: 60px;" readonly="true">{$one['name']}</textarea>
        </td>
    </tr>
    <tr>
        <td class="sec_title right" style="font-weight: bold">故障描述：</td>
        <td colspan="3">
            <textarea style="height: 200px;" readonly="true">{$one['content']}</textarea>
        </td>
    </tr>
    <tr>
        <td class="sec_title right">维修组：</td>
        <td class="input_td" style="border-bottom: 2px dashed #000000;">{$one['fix_group']}</td>
        <td class="sec_title right">组长：</td>
        <td class="input_td" style="border-bottom: 2px dashed #000000;">{$one['fix_group_leader']}</td>
    </tr>
    <tr>
        <td class="sec_title right">维修人员：</td>
        <td class="input_td" style="border-bottom: 2px dashed #000000;">{$one['fix_persons']}</td>
        <td class="sec_title right">值守人员：</td>
        <td class="input_td" style="border-bottom: 2px dashed #000000;">{$one['gard_person']}</td>
    </tr>
    <tr>
        <td class="sec_title right">维修时间：</td>
        <td class="input_td" style="border-bottom: 2px dashed #000000;">{$one['fixtime']}</td>
        <td class="sec_title right">修复时间：</td>
        <td class="input_td" style="border-bottom: 2px dashed #000000;">{$one['endtime']}</td>
    </tr>
    <tr>
        <td class="sec_title right" style="font-weight: bold;">故障设备及原因：</td>
        <td colspan="3" style="">
            <textarea style="height: 200px;margin-top: 15px;" readonly="true">{$one['error_reason']}</textarea>
        </td>
    </tr>
    <tr>
        <td class="sec_title right" style="font-weight: bold">更换配件：</td>
        <td colspan="3">
            <textarea style="height: 200px;" readonly="true">{$one['change_fy']}</textarea>
        </td>
    </tr>
</table>
<script src="/Public/assets/js/jquery1x.js"></script>
<script>
    function print_fix(){
        $('#button_div').hide();
        window.print();
        $('#button_div').show();
    }
</script>
</body>
</html>